home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
batch
/
batcom
/
bat-nest.doc
< prev
next >
Wrap
Text File
|
1985-05-18
|
1KB
|
43 lines
.BAT files can be NESTED in DOS 2.0 enviroment!
Yes, bat files can be nested in DOS 2.0. Just look up your DOS 2.0 manual
10-9. The method is a bit obscure, however. It involve the COMMAND /C Arg.
Example:
test.bat
--------
echo off
masm %1,,,,
COMMAND /C pascal %2 <- Call the sub-batch file via command /c arg.
echo off <- Upon re-enter, echo will be on, reguardless!
edit
Pascal.bat
----------
. put in your PASCAL diskettes...
pause
pas1 %1
pas2
link %1,,,
. put in your original diskettes...
pause
EXIT <-This is very important. Upon exitting the batch file
you have to get out via EXIT.
NOTE: Each Level of nesting will take a minimum of 3K!
Good luck, hope you have fun!
Peter Chow 11/13/83
idea from Tech Journal,Nov
sting will take a minimum of 3K!
Good luck, h